import Vue from 'vue'
import Router from 'vue-router'
import list from '@/components/list'
import brand from '@/components/platform/brand.vue'
import itemcat from '@/components/platform/itemcat.vue'
import specification from '@/components/platform/specification.vue'
import typetemplate from '@/components/platform/typetemplate.vue'
Vue.use(Router)

// eslint-disable-next-line no-unused-vars
let router;
// eslint-disable-next-line no-unused-vars
export default router = new Router({
    routes: [
        {
            path: '/typetemplate',
            name: 'typetemplate',
            component: typetemplate
        },
        {
            path: '/specification',
            name: 'specification',
            component: specification
        },
        {
            path: '/itemcat',
            name: 'itemcat',
            component: itemcat
        },
        {
            path: '/brand',
            name: 'brand',
            component: brand
        }
    ]
})